package main

import (
	"fmt"
	"obc-go/core"
)

func jobSlot11() {
	fmt.Println("Job Slot 1-1")
}

func jobSlot12() {
	fmt.Println("Job Slot 1-2")

}

func jobSlot21() {
	fmt.Println("Job Slot 2-1")
}

func main() {
	c := core.GetTimeCtrl()
	a := core.GetTimeSlotActions()
	a.RegisterJob(*core.NewTimeSlotJob(jobSlot11, "Job Slot 1"), 1)
	a.RegisterJob(*core.NewTimeSlotJob(jobSlot12, "Job Slot 1"), 1)
	a.RegisterJob(*core.NewTimeSlotJob(jobSlot21, "Job Slot 2"), 2)
	c.Start()
}
